This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Let start from the beginning - - ~Naomi Deskroterakol 21.Jan.04 04:12 PM a Web browser Domino Designer All ReleasesAll Platforms
Store form in document can only be forced on a NotesDocument.Send call.
Storing the form in the document is, in 99.99% of cases, an extremely bad idea. It is prone to break, opens malicious (or even just erroneous) code to be executed at a remote client, is impossible to maintain, swells individual email to significant sizes, and is in most other ways just not good.
If you really want to send an email that holds considerable formatting, then create a rendering form for your content that has all the formatting you want, and use NotesDocument.RenderToRichText to grab a copy of the RT version. Then put that in a mail message document's BODY field, and mail *that*. You'll get more consistent formatting, and won't be carrying the security risk you'll have with stored forms. Plus, it's about a trillion times easier to test (because you can just open those rendering forms in the Notes UI yourself, and see where the errors are generated.)